import request from '@/api/request'

export function findBrandByPage(start = 1, limit = 10) {
  return request({
    url: `/lejuAdmin/brand/findBrandByPage/${start}/${limit}`,
    method: 'GET'
  })
}

export function switchShowStatus(data) {
  return request({
    url: `/lejuAdmin/brand/switchShowStatus`,
    method: 'POST',
    data
  })
}

export function addBrand(data) {
  return request({
    url: `/lejuAdmin/brand/addBrand`,
    method: 'POST',
    data
  })
}
